<layout name="layout"/>

<p>
<button type="button" class="uk-button uk-button-success" data-uk-modal="{target:'#myModal',center:true}">
{$Think.lang.add_new}
</button>
<b>{$Think.lang.default_currency}：{$web_config.web_currency}</b>
</p>
          <div class="uk-overflow-container">
            <table class="uk-table uk-table-hover uk-table-striped uk-table-condensed">
<thead>
<tr>
<td>{$Think.lang.currency}</td>
<td>{$Think.lang.exchange}</td>
<td>{$Think.lang.remark}</td>
<td>{$Think.lang.add_time}</td>
<td>--</td>
</tr>
</thead>
<tbody>
<volist name="list" id="vo">
<tr>
<td><a href="__CONTROLLER__/details/{$vo.ex_currency_name}">{$vo.ex_currency_name}</a></td>
<td>{$vo.ex_currency_value}</td>
<td>{$vo.ex_currency_mark}</td>
<td>{$vo.ex_currency_time}</td>
<td>
				<a class="uk-icon-trash" href="javascript:void(0)" onclick="confirmDelete('__CONTROLLER__/deleteHandle/{$vo.ex_currency_name}')">
					
				</a>
</td>
</tr>
</volist>
</tbody>
</table>

<p>
{$page}
</p>
</div>

<!-- Modal -->
<div class="uk-modal" id="myModal">
 <form id="validate_form" class="uk-form"  method="post" action="__CONTROLLER__/addHandle">
    <div class="uk-modal-dialog"> <a class="uk-modal-close uk-close"></a>
        <div class="uk-modal-header">{$Think.lang.add_new}</div>
<table class="uk-table">
<tr>
<td width=150>{$Think.lang.currency}（{$Think.lang.currency_iso}）</td>
<td><input type="text"  name="ex_currency_name" maxlength="3" isEnglish="true" required /></td>
</tr>
<tr>
<td>{$Think.lang.exchange}（=1&nbsp;{$web_config.web_currency}）</td>
<td>
<input type="text"  name="ex_currency_value" isFloatGtZero="true" required  />
</td>
</tr>
<tr>
<td>{$Think.lang.remark}</td>
<td>
<textarea name="ex_currency_mark"  style="height:80px" ></textarea>
</td>
</tr>
</table>
        <div class="uk-modal-footer uk-text-right">
		<button class="uk-button uk-button-danger" type="submit">{$Think.lang.save}</button>
		</div>
    </div>
</form>
</div>


